package com.iflytek.cosmo.ocr.common.config;

import java.util.HashMap;
import java.util.Map;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
/**
 * 授权有效期配置 单位是天
 * @author dgyu
 *
 */
@Configuration
@ConfigurationProperties(prefix = "license")
public class LicenseValidateDateConfig {
	 /**
     * 从配置文件中读取的limitSizeMap开头的数据
     * 注意：名称必须与配置文件中保持一致
     */
    private Map<String, Integer> validateDateMap = new HashMap<>();

	public Map<String, Integer> getValidateDateMap() {
		return validateDateMap;
	}

	public void setValidateDateMap(Map<String, Integer> validateDateMap) {
		this.validateDateMap = validateDateMap;
	}

   
}
